.PHONY:all
all:test thread mythread
mythread:mythread.cpp
	g++ -o $@ $^ -lpthread -std=c++11
test:test.cpp
	g++ -o $@ $^ -lpthread -std=c++11
thread:thread.cpp
	g++ -o $@ $^ -lpthread -std=c++11
.PHOMY:clean
clean:
	rm mythread test thread

